
;;######################################################################
;; ViSta Plugin for Item-Test Analysis.
;;######################################################################

;(require "vista")

;STEP 1: DEFINE THE SEVEN LOCAL VARIABLES 
;        USED TO PREPARE THE PLUGIN ENVIRONMENT

(let ((plugin-subdirectory "item-test")
      (plugin-file          "itemmain.lsp")
      (menu-item            "Item-Test-Analysis")
      (toolbar-button       "Item")
      (workmap-icon         "ITM")
      (ok-data-types     '("multivariate"))
      (ok-variable-types '(numeric)))
    (send *vista* :prepare-plugin-environment
        plugin-subdirectory
        plugin-file 
        menu-item
        toolbar-button
        workmap-icon 
        ok-data-types 
        ok-variable-types))


  ;; PLUGIN STEP 2: PLUGIN LOADER FUNCTION
  
(defun Item-Test-Analysis
  (&key
   (data *current-data*)    ; universal plugin keyword
   (dialog nil)             ; universal plugin keyword
   )
  
     (format t "; CopyRt: ITEM ANALYSIS Copyright (c) 2002-08 by Rubén Ledesma & Gabriel Molina~%> ")

  (load *item-plugin-constructor-file*)

  (Item-Test-Analysis
   :data data
   :dialog dialog
   )
  )


